package com.cssl.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.cssl.pojo.BasicWlfl;
import com.cssl.pojo.BasicWlgl;
import org.springframework.web.multipart.MultipartFile;

import java.util.List;

public interface BasicWlglMapper extends BaseMapper<BasicWlgl> {
    //查询所有物料
    public List<BasicWlgl> listBasicWlgl(BasicWlgl basicWlgl);

    //添加物料
    public int addBasicWlgl(BasicWlgl basicWlgl);

    //修改物料信息
    public int updateBasicwlgl(BasicWlgl basicWlgl);

    //删除物料
    public int delBasicWlgl(Long material_id);

    //根据物料id查询物料信息
    public BasicWlgl findByMaterial_id(Long material_id);

}
